package cn.itcast.demo01;

import redis.clients.jedis.Jedis;

public class demo01 {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("127.0.0.1",6379);
        String set = jedis.set("name", "张三");
        System.out.println(set);

        String name = jedis.get("name");
        System.out.println(name);
        jedis.close();
//        abcdefghijklmnopqrstuvwxyz;
//        abcdefghijklmnopqrstuvwxyz;
//        abcdefghijklmnopqrstuvwxyz;

    }
}
